package tests;

import java.awt.Color;
import java.rmi.RemoteException;
import java.util.Vector;

import rmi.ClientNotificationImpl;

import dao.Client;
import dao.Dungeon;
import dao.Monster;
import dao.Room;
import dao.UserCharacter;

import graphicdisplay.FenetreAffichage;
import graphicdisplay.FenetreConnexion;
import graphicdisplay.FenetreCreationPersonnage;
import graphicdisplay.FenetreJouer;
import graphicdisplay.FenetrePrincipale;
import graphicdisplay.FenetreQuitter;
import graphicdisplay.PopUp_CompteOK;
import graphicdisplay.PopUp_ConnexionOK;
import graphicdisplay.PopUp_GameOver;
import graphicdisplay.PopUp_InconnuLg;
import graphicdisplay.PopUp_PersoOK;
import graphicdisplay.PopUp_QuitterValidation;
import graphicdisplay.PopUp_WrongConnexion;
import graphicdisplay.PopUp_WrongEmail;
import graphicdisplay.PopUp_WrongLg;
import graphicdisplay.PopUp_WrongLgEmpty;
import graphicdisplay.PopUp_WrongPseudo;
import graphicdisplay.PopUp_WrongPwd;
import impl.ServerImpl;

public class Affichagetest {

	public static void main(String[] args) {
		ServerImpl si;
		try {
			si = new ServerImpl();
		} catch (RemoteException e) {
			si = null;
			e.printStackTrace();
		}
		// Tests
//		FenetrePrincipale fp = new FenetrePrincipale(si);
//Client cli = new Client();
//		new FenetreConnexion(si);
//		System.out.println(fp.getCli1().getLogin());

//	new FenetreCreationPersonnage(si,cli);
		
//		Color c = new Color(0, 0, 0);
//		System.out.println(c.getRGB());
//		int g = c.getRGB();
//		Color m = new Color(g);
//		System.out.println(m);
		
	new FenetrePrincipale(si);
	//	new FenetreCreationPersonnage(si,cli);
	}
}
